<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{/back/header::header-head}">
</head>
<body>
<div th:replace="~{/back/header::header-body}"></div>




<div class="container">

    <table class="table">
        <thead>
        <tr>
            <th scope="col">id</th>
            <th scope="col">创建时间</th>
            <th scope="col">内容</th>
            <th scope="col">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="comment:${c}">
            <th scope="row" th:text="${comment.getId()}">1</th>
            <td th:text="${comment.getCreated()}">Mark</td>
            <td th:text="${comment.getContent()}">Otto</td>
            <td > <button >
                <a th:href="@{'/comment/delete/'+${comment.getId()}}">删除</a>
            </button>

            </td>
        </tr>
        </tbody>
    </table>
</div>

<div th:replace="~{/back/end::header-end}"  ></div>
</body>
</html>